Skip to content

feat: EKS ClusterClass and Cluster example #1255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: jimmi/eks-handlers
Choose a base branch
from

Conversation

jimmidyson
Copy link
Member

What problem does this PR solve?:

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

Special notes for your reviewer:

The bases are included in the hack directory rather than pulling in from external projects as we do for other providers because the EKS CC support has not been released in CAPA yet. Once that has happened, we can switch to the same strategy and use the upstream CC and Cluster as the base for patching to create the CAREN CC/Cluster examples.

Requires #1254 and #1252.

@jimmidyson jimmidyson force-pushed the jimmi/eks-cc-cluster branch 3 times, most recently from 0493d80 to e5c6d6f Compare August 6, 2025 14:13
@jimmidyson jimmidyson force-pushed the jimmi/eks-handlers branch 2 times, most recently from c06c78a to b3e2485 Compare August 13, 2025 09:49
@jimmidyson jimmidyson force-pushed the jimmi/eks-cc-cluster branch from cde43ae to 33a45c1 Compare August 13, 2025 09:50
@jimmidyson jimmidyson force-pushed the jimmi/eks-cc-cluster branch from 33a45c1 to e6e1f4a Compare August 13, 2025 09:55
Copy link
Contributor

@dkoshkin dkoshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Lets wait for the stacked PRs and other dependent PRs to merege

@@ -25,9 +25,9 @@ clusterctl.init:
--infrastructure docker:$(CAPD_VERSION),aws:$(CAPA_VERSION),nutanix:$(CAPX_VERSION) \
--addon helm:$(CAAPH_VERSION) \
--wait-providers
kubectl apply --server-side --force-conflicts \
kubectl --kubeconfig=$(KIND_KUBECONFIG) apply --server-side --force-conflicts \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did this work before 🤔

Currently the metamutator only passes the override values when they are
present on a machine deployment or control plane config. This commit
fixes that by merging the global variables into the overrides, resulting
in the behaviour that we always expected.

As overrides are not that commonly used yet, we have not seen this issue
but as taints, etc become more commonly used this will become an issue.

Tests added to prove the fix as well.
The bases are included in the hack directory rather than pulling in
from external projects as we do for other providers because the EKS
CC support has not been released in CAPA yet. Once that has happened,
we can switch to the same strategy and use the upstream CC and Cluster
as the base for patching to create the CAREN CC/Cluster examples.
This was breaking certain pod deployments due to incorrect IAM permissions.
@jimmidyson jimmidyson force-pushed the jimmi/eks-cc-cluster branch from 0aeb0ce to 56a3f5b Compare August 19, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants